package com.sanyue.springboot.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: Guan
 **/
@Data
public class Furn {
    private Integer id;

    private String name;

    private String maker;

    private BigDecimal price;

    private Integer sales;

    private Integer stock;


    private String imgPath = "assets/images/product-image/1.jpg";

    //补充一点，时区问题 中国的东八区比SpringBoot默认区多了8h
    //GMT就是标准时间（格林尼治标准时间）
    // @JsonFormat(pattern = "yyyy-mm-dd HH:mm:ss, timezone = "GMT+8") 年月日 时分秒
    // private Date birth;
}
